import React, { memo } from 'react';
import PropTypes from 'prop-types';

import {
    HeaderWrapper
} from "./style";
// 发现音乐 / 推荐 --》右边 入住歌手/热门主播 头部
const CJXThemeHeaderSmall = memo(function (props) {
    const { title, more } = props;

    return (
        <HeaderWrapper>
            <h3>{title}</h3>
            <a href="/abc">{more}</a>
        </HeaderWrapper>
    )
})

CJXThemeHeaderSmall.defaultProps = {

}
//参数校验
CJXThemeHeaderSmall.propTypes = {
    title: PropTypes.string.isRequired,
    more: PropTypes.string
}

export default CJXThemeHeaderSmall;
